/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package index;

import javax.xml.xpath.XPath;

/**
 *
 * @author Lu
 */
public class FullWord {

    private String fullName;
    private String elementXPath;
    private String elementType;
    private String document;
    private int position;

    public FullWord(
            String fullName,
            String element,
            String elementType,
            String document,
            int position) {
        this.document = document;
        this.fullName = fullName;
        this.elementXPath = element;
        this.elementType = elementType;
        this.position = position;
    }

    public String getFullName() {
        return fullName;
    }

    public String getElement() {
        return elementXPath;
    }

    public String getElementType() {
        return elementType;
    }

    public String getDocument() {
        return document;
    }

    public int getPosition() {
        return position;
    }

    public String toString(){
        return "Full word : "+fullName+", doc : "+document+", xpath : "+elementXPath+", pos : "+position;
    }


}
